<template>
  <div class='tel'>
    <p>{{ message }}</p>
  </div>
</template>

<script>
export default {
  data() {
    return{
      message: ''
    }
  },
  mounted() {
    this.$bus.$on('on-click',mes => {
      this.message = mes
    })
  }
}
</script>

<style lang='stylus' scoped>
  .tel
    border  1px solid red
</style>
